

#ifndef _SHELL_REQSENDPUBLICFIGHTRANK_MESSAGE_H_
#define _SHELL_REQSENDPUBLICFIGHTRANK_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqSendPublicFightRankMessage : public Message
{
	public:
	ReqSendPublicFightRankMessage();
	~ReqSendPublicFightRankMessage();
	void reset();
	ReqSendPublicFightRankMessage* clone();
	static const int _ID;
	//1当前排行 2总排行
	int8 type;
	//总排行信息
	std::string rankInfo;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
